/**
 * Created by chenqian on 2017/12/28.
 */
import React, {Component} from 'react';
import { Route, Switch } from 'react-router-dom'

import GRHome from '../containers/GRHome'
import GRLogin from '../containers/GRLogin'

class GRRouter extends Component {
	render() {
		return (
			<Switch>
				<Route exact path="/" component={GRHome}/>
				<Route path="/login" component={GRLogin}/>
			</Switch>
		);
	}
}

export default GRRouter
